<?php
    session_start();
    if ( intval($_SESSION['uid']) < 1 ){
		
		header("Location: user_login.php");
		die("未登录，请先登录 <a href='user_login.php'>用户登录</a> ");
    }
    
?>
<html>
<head>
    <meta charset="utf-8"/>
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />  
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>添加简历</title>
	<link rel="stylesheet" type="text/css" media="screen" href="main.css"/> 
	<link rel="stylesheet" type="text/css" media="screen" href="list.css"/>
	<script src=http://lib.sinaapp.com/js/jquery/3.1.0/jquery-3.1.0.min.js></script> 
	<script src="send_form.js"></script>
</head>
<body>
	<?php include 'header.php' ?>
	<div class="container_resume">
	<h1>添加简历</h1>
	<form action="resume_save.php" method="post" id="form_resume_add" onsubmit="send_form('form_resume_add'); return false;">
		<div id="form_resume_add_notice" class='form_info'></div>
		<input type="hidden" name = "id" value = 0/>
		<p><input type="text" name="title" placeholder="简历标题" ></p>

		<textarea  name="content" placeholder="请输入简历内容,支持Markdown" ></textarea>
		
		<p><input type="submit" value=保存简历 class="button_zhuce"></p>
		
	</form>
	
	<p><input type="submit" value=返回 class="button_zhuce" onClick="history.back(1);void(0);"></p>
	</div>

</body>
</html>